package com.hzw.saas.web.admin.email.params;

import java.io.Serializable;
import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zzl
 * @since 09/10/2021
 */
@Data
@ApiModel("重新发送邮件")
public class ResendEmailParam implements Serializable {

    private static final long serialVersionUID = 4911287106193391594L;

    @ApiModelProperty(value = "邮件PID",required = true)
    @NotBlank(message = "邮件PID不可为空")
    private String pid;

    @ApiModelProperty(value = "是否强制重新发送(如果邮件已发送成功)")
    private Boolean force;
}
